Optimal. Leaf size=34 \[ -\frac{\sqrt{-4 x^2-9}}{x}-2 \tan ^{-1}\left (\frac{2 x}{\sqrt{-4 x^2-9}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0076738, antiderivative size = 34, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {277, 217, 203} \[ -\frac{\sqrt{-4 x^2-9}}{x}-2 \tan ^{-1}\left (\frac{2 x}{\sqrt{-4 x^2-9}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 277
Rule 217
Rule 203
Rubi steps
\begin{align*} \int \frac{\sqrt{-9-4 x^2}}{x^2} \, dx &=-\frac{\sqrt{-9-4 x^2}}{x}-4 \int \frac{1}{\sqrt{-9-4 x^2}} \, dx\\ &=-\frac{\sqrt{-9-4 x^2}}{x}-4 \operatorname{Subst}\left (\int \frac{1}{1+4 x^2} \, dx,x,\frac{x}{\sqrt{-9-4 x^2}}\right )\\ &=-\frac{\sqrt{-9-4 x^2}}{x}-2 \tan ^{-1}\left (\frac{2 x}{\sqrt{-9-4 x^2}}\right )\\ \end{align*}
Mathematica [A] time = 0.0069708, size = 49, normalized size = 1.44 \[ \frac{\sqrt{-4 x^2-9} \left (2 x \sinh ^{-1}\left (\frac{2 x}{3}\right )-\sqrt{4 x^2+9}\right )}{x \sqrt{4 x^2+9}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 43, normalized size = 1.3 \begin{align*}{\frac{1}{9\,x} \left ( -4\,{x}^{2}-9 \right ) ^{{\frac{3}{2}}}}+{\frac{4\,x}{9}\sqrt{-4\,{x}^{2}-9}}-2\,\arctan \left ( 2\,{\frac{x}{\sqrt{-4\,{x}^{2}-9}}} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] time = 3.47615, size = 28, normalized size = 0.82 \begin{align*} -\frac{\sqrt{-4 \, x^{2} - 9}}{x} + 2 i \, \operatorname{arsinh}\left (\frac{2}{3} \, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] time = 1.34476, size = 147, normalized size = 4.32 \begin{align*} \frac{-i \, x \log \left (-\frac{8 \, x + 4 i \, \sqrt{-4 \, x^{2} - 9}}{x}\right ) + i \, x \log \left (-\frac{8 \, x - 4 i \, \sqrt{-4 \, x^{2} - 9}}{x}\right ) - \sqrt{-4 \, x^{2} - 9}}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.420157, size = 32, normalized size = 0.94 \begin{align*} - 2 \operatorname{atan}{\left (\frac{2 x}{\sqrt{- 4 x^{2} - 9}} \right )} - \frac{\sqrt{- 4 x^{2} - 9}}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] time = 1.33912, size = 58, normalized size = 1.71 \begin{align*} -\frac{i \, \sqrt{4 \, x^{2} + 9} + 3 i}{2 \, x} - \frac{8 \, x}{-4 i \, \sqrt{4 \, x^{2} + 9} - 12 i} + 2 i \, \arcsin \left (\frac{2}{3} i \, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]